#!/usr/bin/env python
# -*- coding:utf-8 -*-

# file:do_exam1.py
# author:王雯雯
# datetime:2024-11-12 
# software: PyCharm

class Class:
    def __init__(self, classid, classname):
        self.classid = classid
        self.classname = classname

    def __str__(self):
        return f"班级编号: {self.classid}, 班级名称: {self.classname}"